package com.lds.register.center.client.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "register.center.client")
public class RegisterCenterClientProperties {
    private String cacheFileRootPath = "/opt/cache-register/";
    private String url = "http://localhost:8082";

    /**
     * 配置
     */
    private String envName;
    private String clusterName;
    private String appName;
    private boolean ephemeral =  true;
    private int weight = 1;
    private String ip = "127.0.0.1";
    private int port = 8080;

    private int heartbeatIntervalSeconds = 5;
}
